package com.cyf.db.mapper.smartCity;

import com.cyf.db.bean.LocalSentryBox;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface LocalSentryBoxMapper {

    @Select("select id, localSentryboxId, name from local_sentrybox " +
            "where parkingId = #{parkingId} and status = 1 ")
    List<LocalSentryBox> listNameInfoByParkingId(@Param("parkingId") Integer parkingId);
}
